package com.ele.service;

import com.ele.pojo.Business;
import com.ele.pojo.PageResult;

import java.util.List;

public interface BusinessService {
    Integer BusinessRegister(Business business);
    Business businessLogin(String account,String password);
    Integer businessUpdate(Business business);
    Integer businessDelete(String id);
    PageResult<List<Business>> findAll(String account , String contact, String telephone, String currentPage, String pageSize);
}
